<script>
export default {
  props: ["node"],
  data() {
    return {};
  },
  render() {
    return (
      <el-cascader
        Props={{
          value: "name",
          label: "name",
          children: "districts",
          expandTrigger: "hover",
        }}
        options={this.$store.state.utils.allArea}
        onChange={(e) => {
          this.node.answer = e;
        }}
        value={this.node.answer}
      ></el-cascader>
    );
  },
};
</script>

<style scoped>
.el-cascader {
  width: 100%;
}
</style>